package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.RTbMerchantServiceTransactionRecord;
import com.ruoyi.system.domain.TbMerchantServiceTransactionRecord;

/**
 * 商家交易订单Service接口
 * 
 * @author lzd
 * @date 2024-09-10
 */
public interface ITbMerchantServiceTransactionRecordService 
{
    /**
     * 商家交易订单、状态字典
     *
     * @param rTbMerchantServiceTransactionRecord 商家交易订单、状态字典
     * @return 商家交易订单集合
     */
    public List<RTbMerchantServiceTransactionRecord> selectRTbMerchantServiceTransactionRecordList(RTbMerchantServiceTransactionRecord rTbMerchantServiceTransactionRecord);

    /**
     * 查询商家交易订单
     * 
     * @param transactionId 商家交易订单主键
     * @return 商家交易订单
     */
    public TbMerchantServiceTransactionRecord selectTbMerchantServiceTransactionRecordByTransactionId(Long transactionId);

    /**
     * 查询商家交易订单列表
     * 
     * @param tbMerchantServiceTransactionRecord 商家交易订单
     * @return 商家交易订单集合
     */
    public List<TbMerchantServiceTransactionRecord> selectTbMerchantServiceTransactionRecordList(TbMerchantServiceTransactionRecord tbMerchantServiceTransactionRecord);

    /**
     * 新增商家交易订单
     * 
     * @param tbMerchantServiceTransactionRecord 商家交易订单
     * @return 结果
     */
    public int insertTbMerchantServiceTransactionRecord(TbMerchantServiceTransactionRecord tbMerchantServiceTransactionRecord);

    /**
     * 修改商家交易订单
     * 
     * @param tbMerchantServiceTransactionRecord 商家交易订单
     * @return 结果
     */
    public int updateTbMerchantServiceTransactionRecord(TbMerchantServiceTransactionRecord tbMerchantServiceTransactionRecord);

    /**
     * 批量删除商家交易订单
     * 
     * @param transactionIds 需要删除的商家交易订单主键集合
     * @return 结果
     */
    public int deleteTbMerchantServiceTransactionRecordByTransactionIds(Long[] transactionIds);

    /**
     * 删除商家交易订单信息
     * 
     * @param transactionId 商家交易订单主键
     * @return 结果
     */
    public int deleteTbMerchantServiceTransactionRecordByTransactionId(Long transactionId);
}
